package com.mars.module.admin.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mars.common.request.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 就诊记录请求对象 sys_visit_records
 *
 * @author mars
 * @date 2024-04-12
 */
@Data
@ApiModel(value = "就诊记录对象")
@EqualsAndHashCode(callSuper = true)
public class SysVisitRecordsRequest extends PageRequest{



    /**
     * ID
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 患者
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "患者")
    private Long userId;

    /**
     * 诊疗时间
     */
    @ApiModelProperty(value = "诊疗时间")
    private LocalDate visitDate;

    /**
     * 症状描述
     */
    @ApiModelProperty(value = "症状描述")
    private String symptomDescribe;

    /**
     * 诊断结果
     */
    @ApiModelProperty(value = "诊断结果")
    private String result;

    /**
     * 治疗方案
     */
    @ApiModelProperty(value = "治疗方案")
    private String plan;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称")
    private String createByName;

    @ApiModelProperty(value = "患者姓名")
    private String userName;
}
